@import "theme.scss";

.search-choose-wrap {
  margin-top: 9px;
  .mui-table-view {
    &::before,
    &::after {
      height: 0;
    }
    .mui-table-view-cell {
      padding: 6px 3.2vw 9px;
      &::after {
        height: 0;
      }
      &.mui-active {
        background: #fff;
      }
      .mui-navigate-right {
        font-size: 12px;
        font-weight: 600;
        margin: 0;
        padding: 0;
      }
      .mui-collapse-content {
        margin: 0;
        padding: 0;
        .choose-list-wrap {
          display: flex;
          flex-wrap: wrap;
        }
        .choose-list {
          width: 21.6vw;
          height: 26px;
          font-size: 12px;
          line-height: 26px;
          text-align: center;
          background: #eee;
          margin-right: 2.4vw;
          margin-top: 8px;
          border-radius: 4px;
          color: #333;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          &:nth-child(4n) {
            margin-right: 0;
          }
        }
        .choose-active {
          background-color: #fff1f1;
          position: relative;
          overflow: hidden;
          .search-chahao {
            display: block;
            width: 8px;
            height: 8px;
            background: url(../images/search_chahao.svg);
            background-size: 100% 100%;
            position: absolute;
            right: 0;
            bottom: 0;
          }
        }
      }
    }
  }
}

.search-button-wrap {
  margin-top: 20px;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  .mui-btn {
    padding: 8px 32px;
    border-radius: 4px;
  }
  .search-btn-clear {
    background-color: #648FAA;
    border-color: #648FAA;
    margin-right: 9px;
  }
  .search-btn-search {
    background-color: $_theme;
    border-color: $_theme;
  }
}

// 2020.08.26 修改
.button-input {
  margin-top: 20px;
  .input-warp {
    position: relative;
    .search {
      background: #f1f1f1;
      width: 100%;
      font-size: 13px;
    }
    .fangda {
      border: 0px solid #fff;
      width: 50px;
      background: url(../images/top_search_icon_theme.png) no-repeat right 13px
        top 7px;
      background-size: 20px;
      position: absolute;
      right: 0;
    }
    .fangda:active {
      background-color: #fff;
      border: 0px solid #fff;
    }
  }
  .mui-btn {
    font-size: 13px;
    width: 37vw;
    min-width: 150px;
    background: #f1f1f1;
    border: 1px solid #eee;
    color: #666;
    position: relative;
    text-align: right;
    .search-choose-result {
      position: relative;
      &::before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border-width: 5px;
        border-style: solid;
        border-color: #666 transparent transparent transparent;
        position: absolute;
        top: 4px;
        left: -16px;
      }
    }
    .mui-icon {
      display: none;
    }
  }
}
.search-all {
  width: 100%;
  height: 450px;
  max-height: 70vh;
  left: 0 !important;
  top: auto !important;
  bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 70px 0;
  &::after,
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 70px;
    position: absolute;
    left: 0;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 20%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
  }
  &::before {
    top: 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 20%,
      rgba(255, 255, 255, 0) 100%
    );
    border-radius: 10px 10px 0 0;
  }
  &::after {
    bottom: 0;
  }

  .mui-popover-arrow {
    display: none;
  }
  .mui-table-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 70px 0;
    .mui-table-view-cell {
      width: 33.33%;
      height: auto;
      font-size: 14px;
      background: none;
      line-height: auto;
      margin-bottom: 20px;
      margin-top: 0;
      margin-right: 0;
    }
    .hot {
      color: #fa6400;
    }
  }
}